import { h } from './build/h.js'
import { init } from './build/init.js'
console.log(h);
const patch = init([])

let dom = document.querySelector('#app')
let oldvnode = patch(dom, h('div', [
  // h('p', 'ttq'),
  // h('!'),
  // h('span')
]))
console.log(JSON.stringify(oldvnode));
// setTimeout(() => {
//   oldvnode = patch(oldvnode, h('div', '我是vnode1'))

// }, 1000)
